Linguistic Rearrangement Font Feature Selector Constants
Linguistic (Indic-style) rearrangement is a standard feature of Devanagari and other South Asian scripts. However, users may not always want it to occur, preferring instead to enter characters in an "already reversed" order. If a font supports the rearrangement feature type, you can either allow the default behavior (which is to perform rearrangement) or you can prevent it.
Table D-15 shows the feature selectors for rearrangement.
Table D-15 Feature selectors for the kLinguisticRearrangementType feature type
Constant
|
Explanation
|
kLinguisticRearrangementOnSelector
kLinguisticRearrangementOffSelector
|
Allows or prevents the automatic rearrangement of certain glyphs as required by language rules.
|
Figure D-8 shows two examples of the display of the word "hindi", first with linguistic rearrangement on and then with it off. Note that when rearrangement is off, the storage order of the character codes in the source text must reflect display order, rather than normal input order.
Figure D-8 The word "hindi" drawn with rearrangement tuned on (upper) and off (lower)
© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)